package com.educate.book.rpc.api;

import java.util.List;

import org.springframework.data.domain.Page;

import com.educate.book.model.bo.BookBO;

public interface BookService {

	String create(BookBO bo);

    void delete(BookBO bo);

    void delete(String bookId);

    BookBO detail(String bookId);

    BookBO detail(BookBO bo);

    void update(BookBO bo);

    Page<BookBO> query(BookBO bo);

    List<BookBO> list(BookBO bo);
}
